babl.git
18 years agosvn path=/trunk/; revision=262
Øyvind Kolås [Sun, 30 Dec 2007 16:33:41 +0000 (16:33 +0000)]
svn path=/trunk/; revision=262

svn path=/trunk/; revision=262

18 years agoone const was forgotten.
Michael Natterer [Sat, 29 Dec 2007 03:32:48 +0000 (03:32 +0000)]
one const was forgotten.

2007-12-29  Michael Natterer  <mitch@gimp.org>

* babl/babl-fish-path.c (chain_contains_fmt): one const was
forgotten.

svn path=/trunk/; revision=261

18 years agoConst'ified code with Babl*'s refering to formats.
Øyvind Kolås [Sat, 29 Dec 2007 03:29:37 +0000 (03:29 +0000)]
Const'ified code with Babl*'s refering to formats.

* babl/babl.h:
* babl/babl-classes.h:
* babl/babl-fish-path.c:
* babl/babl-fish-reference.c:
* babl/babl-fish.c:
* babl/babl-internal.[ch]: Const'ified code with Babl*'s refering to
formats.

svn path=/trunk/; revision=260

18 years agopost release version increment to 0.0.17
Øyvind Kolås [Sun, 25 Nov 2007 23:16:09 +0000 (23:16 +0000)]
post release version increment to 0.0.17

* configure.ac: post release version increment to 0.0.17

svn path=/trunk/; revision=258

18 years ago=========================== 0.0.16 released =============================
Øyvind Kolås [Sun, 25 Nov 2007 23:15:27 +0000 (23:15 +0000)]
=========================== 0.0.16 released =============================

2007-02-17  Øyvind Kolås  <pippin@gimp.org>

* configure.ac: increased version to 0.0.16 for release.

svn path=/trunk/; revision=257

18 years agosvn path=/trunk/; revision=256
Øyvind Kolås [Sun, 25 Nov 2007 23:14:25 +0000 (23:14 +0000)]
svn path=/trunk/; revision=256

svn path=/trunk/; revision=256

18 years agodo additional casts to silence warnings from compiler.
Øyvind Kolås [Sun, 25 Nov 2007 23:00:14 +0000 (23:00 +0000)]
do additional casts to silence warnings from compiler.

* babl/babl-image.c: (babl_image_from_linear): do additional casts to
silence warnings from compiler.

svn path=/trunk/; revision=255

18 years agochanged documentation to use babl_format instead of passing naked strings
Øyvind Kolås [Sun, 25 Nov 2007 22:56:30 +0000 (22:56 +0000)]
changed documentation to use babl_format instead of passing naked strings

* docs/index-static.html.in: changed documentation to use babl_format
instead of passing naked strings into babl_fish, (both will work,
but using babl_format is a bit saner).

svn path=/trunk/; revision=254

18 years agoupdated. added COPYING and COPYING.LESSER added COPYING and COPYING.LESSER
Øyvind Kolås [Sun, 25 Nov 2007 22:49:07 +0000 (22:49 +0000)]
updated. added COPYING and COPYING.LESSER added COPYING and COPYING.LESSER

* NEWS: updated.
* Makefile.am: added COPYING and COPYING.LESSER
* docs/Makefile.am: added COPYING and COPYING.LESSER

svn path=/trunk/; revision=253

18 years agoswapped source and destination around in memcpy.
Øyvind Kolås [Tue, 13 Nov 2007 02:37:20 +0000 (02:37 +0000)]
swapped source and destination around in memcpy.

* babl/babl-fish.c: (babl_fish_process): swapped source and
destination around in memcpy.

svn path=/trunk/; revision=252

18 years agoswapped source and destination around in memcpy.
Øyvind Kolås [Tue, 13 Nov 2007 01:09:28 +0000 (01:09 +0000)]
swapped source and destination around in memcpy.

* babl/babl-fish.c: (babl_fish_process): swapped source and
destination around in memcpy.

svn path=/trunk/; revision=251

18 years agooptimized fishing when looking up existing fish (should perhaps be moved
Øyvind Kolås [Tue, 13 Nov 2007 00:05:46 +0000 (00:05 +0000)]
optimized fishing when looking up existing fish (should perhaps be moved

* babl/babl-fish.c: (go_fishing): optimized fishing when looking
up existing fish (should perhaps be moved to lists going from given
formats, similar to how conversions are added there instead.) Made
go_fishing accept BABL_FISH_REFERENCE when source and desintation
formats are equal.
(babl_fish_process): removed most of the need for BablImage for
linear buffers, do a memcpy when source and destination formats
are equal (and we're a BABL_FISH_REFERENCE).
* babl/babl-db.[ch]: moved the BablDb struct out into public to
allow faster iteration through it.

svn path=/trunk/; revision=250

18 years agoModified copyright statement to refer to an URL instead of a civic address
Øyvind Kolås [Sun, 11 Nov 2007 14:25:56 +0000 (14:25 +0000)]
Modified copyright statement to refer to an URL instead of a civic address

* Modified copyright statement to refer to an URL instead of a civic
address for the Free Software Foundation and the text of the license.

svn path=/trunk/; revision=249

18 years agoKeep a cache of the linear version of BablImage's needed for
Øyvind Kolås [Sun, 11 Nov 2007 14:12:24 +0000 (14:12 +0000)]
Keep a cache of the linear version of BablImage's needed for
BablFormats around. This reduces the constant overhead for
conversions.
* babl/babl-classes.h: added .image_template field to BablFormat.
* babl/babl-format.c: (format_new): make .image_template NULL by
defualt.
* babl/babl-image.c: (babl_image_from_linear): use .image_template if
available instead of creating our own BablImage from scratch.
* babl/babl-memory.c: (babl_free): special case freeing of BablImage
and BablFormat to do the extra juggling needed for the image_template
cache.

svn path=/trunk/; revision=248

18 years agoimprove visualization of results.
Øyvind Kolås [Sat, 10 Nov 2007 23:24:16 +0000 (23:24 +0000)]
improve visualization of results.

* babl/babl-fish-stats.c: (table_destination_each): improve
visualization of results.

svn path=/trunk/; revision=247

18 years agoOptimized lookup by adding an inline version of babl_db_each specially for
Øyvind Kolås [Sat, 10 Nov 2007 23:19:30 +0000 (23:19 +0000)]
Optimized lookup by adding an inline version of babl_db_each specially for

* babl/babl-db.c: (babl_db_each_inline), (babl_db_exist): Optimized
lookup by adding an inline version of babl_db_each specially for
babl_db_exist.

svn path=/trunk/; revision=246

18 years agoDo not accept BABL_FISH_REFERENCE as a valid result when fishing for
Øyvind Kolås [Sat, 10 Nov 2007 23:19:11 +0000 (23:19 +0000)]
Do not accept BABL_FISH_REFERENCE as a valid result when fishing for
existing fishes.
* babl/babl-fish.c: (fishing_result_examine), (babl_fish):

svn path=/trunk/; revision=245

18 years agodocumented BABL_STATS environment variable.
Øyvind Kolås [Sat, 10 Nov 2007 22:51:58 +0000 (22:51 +0000)]
documented BABL_STATS environment variable.

* docs/index-static.html.in: documented BABL_STATS environment
variable.

svn path=/trunk/; revision=244

18 years ago Upgraded babl from LGPLv2 to LGPLv3. Copyright statements in all files
Øyvind Kolås [Sat, 10 Nov 2007 13:51:05 +0000 (13:51 +0000)]
Upgraded babl from LGPLv2 to LGPLv3. Copyright statements in all files
have been updated to reflect this change, the permission to use leter
versions of the GNU licenses have been retained in all instances.)

* COPYING: changed to GPLv3
* COPYING.LESSER: added (LGPLv3's overlay over GPLv3)

svn path=/trunk/; revision=243

18 years agoDIR_SEP='\' is evil, use DIR_SEP='\\' instead.
Michael Schumacher [Mon, 29 Oct 2007 23:22:40 +0000 (23:22 +0000)]
DIR_SEP='\' is evil, use DIR_SEP='\\' instead.

2007-10-30  Michael Schumacher  <schumaml@cvs.gnome.org>

* configure.ac: DIR_SEP='\' is evil, use DIR_SEP='\\' instead.

svn path=/trunk/; revision=242

18 years agoDefine name of babl library file.
Kevin Cozens [Sat, 15 Sep 2007 00:01:00 +0000 (00:01 +0000)]
Define name of babl library file.

2007-09-14  Kevin Cozens  <kcozens@cvs.gnome.org>

* configure.ac: Define name of babl library file.

* babl/babl-extension.c: Use name of babl library defined when
./configure was run.

svn path=/trunk/; revision=241

18 years agoChanges to let BABL find its extensions at run time when the BABL_PATH
Kevin Cozens [Fri, 14 Sep 2007 23:42:23 +0000 (23:42 +0000)]
Changes to let BABL find its extensions at run time when the BABL_PATH

2007-09-14  Kevin Cozens  <kcozens@cvs.gnome.org>

Changes to let BABL find its extensions at run time when the
BABL_PATH environment variable is not set.

* configure.ac: Don't specify BABL_PATH in here. Renamed
BABL_LIST_SEPERATOR to BABL_DIR_SEPARATOR.

* babl/babl-extension.c: Include /lib as part of default BABL_PATH.
Renamed #define's used to specify the path and directory separators.
Use the values from config.h that were set when ./configure was run.

svn path=/trunk/; revision=240

18 years agoAdded check for existence of automake-1.10. Fixes bug #474507.
Kevin Cozens [Wed, 12 Sep 2007 00:44:02 +0000 (00:44 +0000)]
Added check for existence of automake-1.10. Fixes bug #474507.

2007-09-11  Kevin Cozens  <kcozens@cvs.gnome.org>

* autogen.sh: Added check for existence of automake-1.10.
Fixes bug #474507.

svn path=/trunk/; revision=239

18 years agoreturn immediately if 0 pixels were requested to be processed.
Øyvind Kolås [Mon, 10 Sep 2007 12:54:18 +0000 (12:54 +0000)]
return immediately if 0 pixels were requested to be processed.

* babl/babl-internal.c: (babl_process): return immediately if 0 pixels
were requested to be processed.

svn path=/trunk/; revision=238

18 years agoadded.
Øyvind Kolås [Sat, 1 Sep 2007 19:09:39 +0000 (19:09 +0000)]
added.

* MAINTAINERS: added.

svn path=/trunk/; revision=237

18 years agoApplied patch from Kevin Cozens fixing bug #467652
Øyvind Kolås [Thu, 30 Aug 2007 12:25:22 +0000 (12:25 +0000)]
Applied patch from Kevin Cozens fixing bug #467652
* babl/Makefile.am: Use DL flag set by ./configure instead of
hard-coding it in Makefile

svn path=/trunk/; revision=236

18 years agoextensions/gggl.c Only include math.h once.
Kevin Cozens [Thu, 2 Aug 2007 15:07:41 +0000 (15:07 +0000)]
extensions/gggl.c Only include math.h once.

2007-08-02  Kevin Cozens  <kcozens@cvs.gnome.org>

* extensions/gggl.c
* extensions/gggl-lies.c: Only include math.h once.

svn path=/trunk/; revision=235

18 years agoFixed compiler abort on certain LDFLAGS values (-Wl,-z,defs) by
Øyvind Kolås [Wed, 1 Aug 2007 21:50:23 +0000 (21:50 +0000)]
Fixed compiler abort on certain LDFLAGS values (-Wl,-z,defs) by
applying patch from christopher taylor, closing bug #462536.
* babl/Makefile.am:
* extensions/Makefile.am:

svn path=/trunk/; revision=234

19 years agoreindented all of the code using uncrustify
Øyvind Kolås [Sun, 25 Mar 2007 21:44:16 +0000 (21:44 +0000)]
reindented all of the code using uncrustify

svn path=/trunk/; revision=233

19 years agoDon't distribute generated files. It's spurious when packaging.
Étienne Bersac [Wed, 21 Mar 2007 20:33:52 +0000 (20:33 +0000)]
Don't distribute generated files. It's spurious when packaging.

svn path=/trunk/; revision=232

19 years agoMake force the value of shrext to either .dll or .so (it seems like it
Øyvind Kolås [Wed, 21 Mar 2007 17:12:39 +0000 (17:12 +0000)]
Make force the value of shrext to either .dll or .so (it seems like it

* configure.ac: Make force the value of shrext to either .dll or .so
(it seems like it wasn't defined for unixy systems after all).

svn path=/trunk/; revision=231

19 years agouse PATHSEP (platform-dependent, defined to ';' on win32) for
Michael Schumacher [Tue, 13 Mar 2007 22:54:55 +0000 (22:54 +0000)]
use PATHSEP (platform-dependent, defined to ';' on win32) for

2007-03-13  Michael Schumacher  <schumaml@cvs.gnome.org>

* configure.ac: use PATHSEP (platform-dependent, defined to ';' on
win32) for BABL_LIST_SEPERATOR

svn path=/trunk/; revision=230

19 years agoAC_SUBST and AC_DEFINE $shrext into variables for Makefiles and source.
Michael Schumacher [Tue, 13 Mar 2007 19:44:35 +0000 (19:44 +0000)]
AC_SUBST and AC_DEFINE $shrext into variables for Makefiles and source.

2007-03-13  Michael Schumacher  <schumaml@cvs.gnome.org>

* configure.ac: AC_SUBST and AC_DEFINE $shrext into variables for
Makefiles and source.
* extension/Makefile.am: use $(SHREXT) instead of .$(SOext).
* babl/babl-extension.c: use SHREXT instead of a hardcoded ".so"
and get rid of a dirent->d_ino > 0 check which has been there for
reasons unknown.

svn path=/trunk/; revision=229

19 years agoapplied patch by John Marshall to make babl extensions build on Windows.
Michael Schumacher [Mon, 12 Mar 2007 20:58:13 +0000 (20:58 +0000)]
applied patch by John Marshall to make babl extensions build on Windows.

2007-03-12  Michael Schumacher  <schumaml@cvs.gnome.org>

* Makefile.am:
* extensions/Makefile.am: applied patch by John Marshall to make
babl extensions build on Windows. They do not work yet, though. Fixes
bug #409957.

svn path=/trunk/; revision=228

19 years agogo fishing for an existing fish for the source/destination combination
Øyvind Kolås [Mon, 12 Mar 2007 01:45:17 +0000 (01:45 +0000)]
go fishing for an existing fish for the source/destination combination

* babl/babl-fish.c: (fishing_result_examine), (go_fishing),
(babl_fish): go fishing for an existing fish for the
source/destination combination before trying to create one.

svn path=/trunk/; revision=227

19 years agogo fishing for an existing fish for the source/destination combination
Øyvind Kolås [Mon, 12 Mar 2007 01:40:39 +0000 (01:40 +0000)]
go fishing for an existing fish for the source/destination combination

* babl/babl-fish.c: (fishing_result_examine), (go_fishing),
(babl_fish): go fishing for an existing fish for the
source/destination combination before trying to create one.

svn path=/trunk/; revision=226

19 years agomake _Babl be a typedef and not a union that gets included and defined for
Øyvind Kolås [Wed, 21 Feb 2007 23:09:04 +0000 (23:09 +0000)]
make _Babl be a typedef and not a union that gets included and defined for

* babl/babl-classes.h: make _Babl be a typedef and not a union that
gets included and defined for every single object generated.
Fixes bug #409781.

svn path=/trunk/; revision=225

19 years agopost release increment to 0.0.15
Øyvind Kolås [Sun, 18 Feb 2007 11:49:28 +0000 (11:49 +0000)]
post release increment to 0.0.15

* configure.ac: post release increment to 0.0.15

svn path=/trunk/; revision=224

19 years agoincreased version to 0.0.14 for release.
Øyvind Kolås [Sun, 18 Feb 2007 09:22:15 +0000 (09:22 +0000)]
increased version to 0.0.14 for release.

* configure.ac: increased version to 0.0.14 for release.

svn path=/trunk/; revision=223

19 years agoadds, reordering and trimming of information in webpage.
Øyvind Kolås [Sat, 17 Feb 2007 21:34:46 +0000 (21:34 +0000)]
adds, reordering and trimming of information in webpage.

* docs/index-static.html.in: adds, reordering and trimming of
information in webpage.

svn path=/trunk/; revision=222

19 years agoremoved obsoloted FIXME.
Øyvind Kolås [Sat, 17 Feb 2007 21:09:15 +0000 (21:09 +0000)]
removed obsoloted FIXME.

* babl/base/model-gray.c: removed obsoloted FIXME.

svn path=/trunk/; revision=221

19 years agoreincorporate NEWS, added link to extensions dir in subversion.
Øyvind Kolås [Sat, 17 Feb 2007 19:45:26 +0000 (19:45 +0000)]
reincorporate NEWS, added link to extensions dir in subversion.

* docs/index-static.html.in: reincorporate NEWS, added link to
extensions dir in subversion.

svn path=/trunk/; revision=220

19 years agocache the values looked up from BABL_ERROR and BABL_PATH_LENGTH
Øyvind Kolås [Fri, 16 Feb 2007 11:48:54 +0000 (11:48 +0000)]
cache the values looked up from BABL_ERROR and BABL_PATH_LENGTH

* babl/babl-fish-path.c: (legal_error), (max_path_length): cache the
values looked up from BABL_ERROR and BABL_PATH_LENGTH environment
variables, changed default maximum conversion path length from 3 to 4.

svn path=/trunk/; revision=219

19 years agospecify Y'CbCrA model instead of Y'CbCr for Y'CbCrA float.
Øyvind Kolås [Fri, 16 Feb 2007 10:50:31 +0000 (10:50 +0000)]
specify Y'CbCrA model instead of Y'CbCr for Y'CbCrA float.

* babl/base/formats.c: (babl_formats_init): specify Y'CbCrA model
instead of Y'CbCr for Y'CbCrA float.

svn path=/trunk/; revision=218

19 years agosimplified logic of code to speed it up.
Øyvind Kolås [Thu, 15 Feb 2007 16:37:41 +0000 (16:37 +0000)]
simplified logic of code to speed it up.

* extensions/gegl-fixups.c: (conv_rgbAF_rgb8): simplified logic
of code to speed it up.

svn path=/trunk/; revision=217

19 years agoavoid divisions by zero, thus making the reference conversions correct.
Øyvind Kolås [Wed, 14 Feb 2007 23:23:36 +0000 (23:23 +0000)]
avoid divisions by zero, thus making the reference conversions correct.

* babl/base/model-rgb.c: (premultiplied_to_non_premultiplied),
(rgba_gamma_2_2_premultiplied2rgba): avoid divisions by zero,
thus making the reference conversions correct.

svn path=/trunk/; revision=216

19 years agoupdated news for many versions.
Øyvind Kolås [Sun, 11 Feb 2007 01:29:37 +0000 (01:29 +0000)]
updated news for many versions.

* NEWS: updated news for many versions.

svn path=/trunk/; revision=215

19 years agoChanged CVS reference to SVN.
Kevin Cozens [Sat, 10 Feb 2007 04:16:17 +0000 (04:16 +0000)]
Changed CVS reference to SVN.

2007-02-09  Kevin Cozens  <kcozens@cvs.gnome.org>

* autogen.sh: Changed CVS reference to SVN.

* configure.ac: Set BABL_UNSTABLE to 1 for odd micro numbers
when major and minor are both 0.

* babl.pc.in
* babl/Makefile.am
* tests/Makefile.am: Use version number in library name.

svn path=/trunk/; revision=214

19 years agobabl/Makefile.am babl/base/Makefile.am Removed references to .cvsignore.
Kevin Cozens [Sat, 10 Feb 2007 02:10:39 +0000 (02:10 +0000)]
babl/Makefile.am babl/base/Makefile.am Removed references to .cvsignore.

2007-02-09  Kevin Cozens  <kcozens@cvs.gnome.org>

* babl/Makefile.am
* babl/base/Makefile.am
* docs/graphics/Makefile.am: Removed references to .cvsignore.

* docs/Makefile.am: Removed reference to .cvsignore. Removed
^M from end of lines.

svn path=/trunk/; revision=213

19 years agobabl/Makefile.am babl/base/Makefile.am Removed references to .cvsignore.
Kevin Cozens [Sat, 10 Feb 2007 02:08:08 +0000 (02:08 +0000)]
babl/Makefile.am babl/base/Makefile.am Removed references to .cvsignore.

2007-02-09  Kevin Cozens  <kcozens@cvs.gnome.org>

* babl/Makefile.am
* babl/base/Makefile.am
* docs/graphics/Makefile.am: Removed references to .cvsignore.

* docs/Makefile.am: Removed reference to .cvsignore. Removed
^M from end of lines.

svn path=/trunk/; revision=212

19 years agoremoved .cvsignore files
Øyvind Kolås [Wed, 31 Jan 2007 00:13:02 +0000 (00:13 +0000)]
removed .cvsignore files

svn path=/trunk/; revision=211

19 years agoRemoved .cvsignore files.
Øyvind Kolås [Tue, 30 Jan 2007 23:36:09 +0000 (23:36 +0000)]
Removed .cvsignore files.

svn path=/trunk/; revision=210

19 years agoset version to 0.0.13
Øyvind Kolås [Sun, 28 Jan 2007 17:09:00 +0000 (17:09 +0000)]
set version to 0.0.13

* configure.ac: set version to 0.0.13

svn path=/trunk/; revision=209

19 years agoset version to 0.0.12
Øyvind Kolås [Sun, 28 Jan 2007 17:08:17 +0000 (17:08 +0000)]
set version to 0.0.12

* configure.ac: set version to 0.0.12

svn path=/trunk/; revision=208

19 years agothings are not in CVS but SVN now.
Øyvind Kolås [Sun, 28 Jan 2007 17:03:22 +0000 (17:03 +0000)]
things are not in CVS but SVN now.

* docs/index-static.html.in: things are not in CVS but SVN now.

svn path=/trunk/; revision=207

19 years agoshut up compiler warning.
Øyvind Kolås [Sun, 28 Jan 2007 16:55:03 +0000 (16:55 +0000)]
shut up compiler warning.

* babl/babl-conversion.c: (babl_conversion_new): shut up compiler
warning.

svn path=/trunk/; revision=206

19 years agogive names to the custom formats.
Øyvind Kolås [Sun, 28 Jan 2007 16:53:31 +0000 (16:53 +0000)]
give names to the custom formats.

* extensions/gegl-fixups.c: (init): give names to the custom formats.

svn path=/trunk/; revision=205

19 years agoadded Michael Natterer as janitor.
Øyvind Kolås [Sun, 28 Jan 2007 15:40:52 +0000 (15:40 +0000)]
added Michael Natterer as janitor.

* AUTHORS: added Michael Natterer as janitor.

svn path=/trunk/; revision=204

19 years agoadded Tim Mooney
Øyvind Kolås [Sun, 28 Jan 2007 15:05:16 +0000 (15:05 +0000)]
added Tim Mooney

* AUTHORS: added Tim Mooney

svn path=/trunk/; revision=202

19 years agoadded optimized permutator for going from cairo's buffer format to RGBA
Øyvind Kolås [Sun, 28 Jan 2007 14:46:07 +0000 (14:46 +0000)]
added optimized permutator for going from cairo's buffer format to RGBA

* extensions/gegl-fixups.c: (conv_bgrA8_rgba8), (init): added
optimized permutator for going from cairo's buffer format to RGBA byte
order, as well as unpremultiplying.

svn path=/trunk/; revision=201

19 years agofixed gamma conversion.
Øyvind Kolås [Sun, 28 Jan 2007 14:30:57 +0000 (14:30 +0000)]
fixed gamma conversion.

* extensions/gegl-fixups.c: fixed gamma conversion.

svn path=/trunk/; revision=200

19 years agodeclare the test programs used during doc creating as variables to keep
Michael Schumacher [Mon, 22 Jan 2007 00:33:20 +0000 (00:33 +0000)]
declare the test programs used during doc creating as variables to keep

2007-01-22  Michael Schumacher  <schumaml@cvs.gnome.org>

* docs/Makefile.am: declare the test programs used during doc
creating as variables to keep the commands in targets readable.

svn path=/trunk/; revision=199

19 years agoApplied patch from Tim Mooney fixing bug #392916
Øyvind Kolås [Sun, 21 Jan 2007 23:40:45 +0000 (23:40 +0000)]
Applied patch from Tim Mooney fixing bug #392916
* extensions/Makefile.am: $(prefix)/lib/babl-0.0 for its extensions
dir, which is incorrect for many 64 bit platforms.  It should instead
use $(libdir)/babl-0.0.

svn path=/trunk/; revision=198

19 years agoapplied patch from Tim Mooney fixing bug #392843, replacing _FUNCTION_
Øyvind Kolås [Sun, 21 Jan 2007 23:34:06 +0000 (23:34 +0000)]
applied patch from Tim Mooney fixing bug #392843, replacing _FUNCTION_

* babl/babl-internal.h: applied patch from Tim Mooney fixing bug
#392843, replacing _FUNCTION_ with _func_ which is the C99 equivalent
of the gcc extension.

svn path=/trunk/; revision=197

19 years agoremove the check for dlopen again - didn't work as intended for #idfef
Michael Schumacher [Tue, 16 Jan 2007 00:39:31 +0000 (00:39 +0000)]
remove the check for dlopen again - didn't work as intended for #idfef

2007-01-16  Michael Schumacher  <schumaml@cvs.gnome.org>

* configure.ac: remove the check for dlopen again - didn't work as
intended
* babl/babl-extension.c: for #idfef WIN32, #define dl* functions
to their Windows equivalents (LoadLibrary, GetProcAddress,
FreeLibrary).

svn path=/trunk/; revision=196

19 years agodefine HAVE_DLOPEN if HAVE_DLFCN is set.
Øyvind Kolås [Mon, 8 Jan 2007 14:01:39 +0000 (14:01 +0000)]
define HAVE_DLOPEN if HAVE_DLFCN is set.

* babl/babl-extension.c: define HAVE_DLOPEN if HAVE_DLFCN is set.

svn path=/trunk/; revision=195

19 years agoset version to 0.0.11
Øyvind Kolås [Sun, 7 Jan 2007 23:59:06 +0000 (23:59 +0000)]
set version to 0.0.11

* configure.ac: set version to 0.0.11

svn path=/trunk/; revision=194

19 years agoThis change makes babl buildable on Windows.
Michael Schumacher [Sat, 6 Jan 2007 14:21:14 +0000 (14:21 +0000)]
This change makes babl buildable on Windows.

2007-01-06  Michael Schumacher  <schumaml@cvs.gnome.org>

        This change makes babl buildable on Windows.

* configure.ac: Add a check for function dlopen and disabled
static libs by default. Check for gettimeofday by using
AC_REPLACE_FUNCS.

* babl/babl-internal.h: Add definitions for srandom and radnom to
srand and rand for the windows platform.
* babl/babl-conversion.c
* babl-model.c: Include babl-internal.h after math.h

* babl/babl-extension.c: Use #ifdef HAVE_DLOPEN to hide dl* if it
is not available.

* babl/Makefile.am: Removed win32_libs and added @LTLIBOBJS@ to
LIBADD to get the replacement for gettimeofday linked in if
needed.

* babl/gettimeofday.c: New file to provide a replacement for
gettimeofday, only used on Windows yet.

svn path=/trunk/; revision=193

19 years agodon't go into the extensions subdirectory on Windows removed the
Michael Schumacher [Sat, 6 Jan 2007 13:48:10 +0000 (13:48 +0000)]
don't go into the extensions subdirectory on Windows removed the

2007-01-06  Michael Schumacher  <schumaml@cvs.gnome.org>

* Makefile.am: don't go into the extensions subdirectory on
Windows
* extensions/Makefile.am: removed the win32_libs definition, using
libgw32c does more harm than good, apparently

svn path=/trunk/; revision=192

19 years agoadded EXEEXT to the tools used in some commands
Michael Schumacher [Sat, 6 Jan 2007 13:00:28 +0000 (13:00 +0000)]
added EXEEXT to the tools used in some commands

2007-01-06  Michael Schumacher  <schumaml@cvs.gnome.org>

* docs/Makefile.am: added EXEEXT to the tools used in some
commands

* docs/tools/changelog2rss: remove unused SET_TITLE and
LISTING_TYPE; the former did cause an error on Windows

svn path=/trunk/; revision=191

19 years agoFixes for various punctuation, grammar, and typographical errors.
Kevin Cozens [Tue, 2 Jan 2007 04:01:31 +0000 (04:01 +0000)]
Fixes for various punctuation, grammar, and typographical errors.

2007-01-01  Kevin Cozens  <kcozens@cvs.gnome.org>

* docs/index-static.html.in: Fixes for various punctuation, grammar,
and typographical errors.

svn path=/trunk/; revision=190

19 years agoChanges to properly (or at least better) version the babl library.
Kevin Cozens [Tue, 2 Jan 2007 03:53:39 +0000 (03:53 +0000)]
Changes to properly (or at least better) version the babl library.

2007-01-01  Kevin Cozens  <kcozens@cvs.gnome.org>

* configure.ac: Changes to properly (or at least better) version the
babl library.

* babl.pc.in: It is too soon to include version information in the
name of the babl library at link time.

svn path=/trunk/; revision=189

19 years agoSome changes to fix build problems in FreeBSD and Windows.
Kevin Cozens [Mon, 1 Jan 2007 20:58:45 +0000 (20:58 +0000)]
Some changes to fix build problems in FreeBSD and Windows.

2007-01-01  Kevin Cozens  <kcozens@cvs.gnome.org>

Some changes to fix build problems in FreeBSD and Windows.

* configure.ac: Added missing m4 defines specifying version numbers,
and tests for libdl and libm (sets DL_LIB and MATH_LIB respectively).

* babl.pc.in: Replaced several hard-coded items with ones defined
when configure is run.

* babl/base/Makefile.am:
* extensions/Makefile.am:
* tests/Makefile.am: Use $(DL_LIB) and $(MATH_LIB) instead of
hard-coded options.

svn path=/trunk/; revision=188

19 years agoset the version of babl to 0.0.9
Øyvind Kolås [Fri, 29 Dec 2006 15:30:19 +0000 (15:30 +0000)]
set the version of babl to 0.0.9

* configure.ac: set the version of babl to 0.0.9

19 years agoset the version of babl to 0.0.8
Øyvind Kolås [Fri, 29 Dec 2006 15:29:51 +0000 (15:29 +0000)]
set the version of babl to 0.0.8

* configure.ac: set the version of babl to 0.0.8

19 years agoinclude changelog2rss script.
Øyvind Kolås [Fri, 29 Dec 2006 13:51:19 +0000 (13:51 +0000)]
include changelog2rss script.

* docs/Makefile.am: include changelog2rss script.

19 years ago Make babl compile with stricter compiler warnings, mostly related to
Øyvind Kolås [Fri, 17 Nov 2006 22:38:37 +0000 (22:38 +0000)]
Make babl compile with stricter compiler warnings, mostly related to
changing pointer arith from void* to char*.

* babl/babl-classes.h:
* babl/babl-component.c: (component_new):
* babl/babl-conversion.c: (conversion_new),
(babl_conversion_planar_process), (babl_conversion_process):
* babl/babl-core.c: (convert_double_double), (rgba_to_rgba):
* babl/babl-extension.c: (extension_new):
* babl/babl-fish-path.c: (babl_fish_path):
* babl/babl-fish-reference.c: (babl_fish_reference),
(convert_to_double), (convert_from_double), (process_same_model),
(babl_fish_reference_process):
* babl/babl-fish-simple.c: (babl_fish_simple):
* babl/babl-fish.c: (babl_fish_process):
* babl/babl-format.c: (format_new):
* babl/babl-image.c: (image_new), (babl_image_from_linear),
(babl_image):
* babl/babl-internal.h:
* babl/babl-memory.c: (babl_malloc):
* babl/babl-model.c: (model_new):
* babl/babl-type.c: (type_new), (r_interval), (test_init):
* babl/base/babl-base.c:
* babl/base/babl-base.h:
* babl/base/formats.c:
* babl/base/model-gray.c: (rgba_to_graya), (rgba_to_gray),
(rgb_to_gray_2_2), (gray_2_2_to_rgb), (graya_to_rgba),
(gray_to_rgba), (gray_alpha_premultiplied_to_rgba),
(rgba_to_gray_alpha_premultiplied),
(non_premultiplied_to_premultiplied),
(premultiplied_to_non_premultiplied),
(rgba2gray_gamma_2_2_premultiplied),
(gray_gamma_2_2_premultiplied2rgba):
* babl/base/model-rgb.c: (copy_strip_1), (g3_gamma_2_2),
(g3_inv_gamma_2_2), (non_premultiplied_to_premultiplied),
(premultiplied_to_non_premultiplied),
(rgba2rgba_gamma_2_2_premultiplied),
(rgba_gamma_2_2_premultiplied2rgba), (rgba2rgba_gamma_2_2),
(rgba_gamma_2_22rgba):
* babl/base/model-ycbcr.c: (rgba_to_ycbcra), (rgba_to_ycbcr),
(ycbcra_to_rgba), (ycbcr_to_rgba):
* babl/base/type-float.c: (convert_double_float),
(convert_float_double):
* babl/base/type-u16.c: (convert_double_u16_scaled),
(convert_u16_double_scaled):
* babl/base/type-u32.c: (convert_double_u32_scaled),
(convert_u32_double_scaled):
* babl/base/type-u8.c: (convert_double_u8_scaled),
(convert_u8_double_scaled):
* extensions/CIE-Lab.c: (rgba_to_lab), (lab_to_rgba),
(rgba_to_laba), (laba_to_rgba), (convert_double_u8_scaled),
(convert_u8_double_scaled), (convert_double_u16_scaled),
(convert_u16_double_scaled):
* extensions/gegl-fixups.c: (conv_F_8), (conv_8_F):
* extensions/gggl-lies.c: (conv_F_8), (conv_F_16), (conv_8_F),
(conv_16_F):
* extensions/gggl.c: (conv_F_8), (conv_F_16), (conv_8_F),
(conv_16_F):
* extensions/naive-CMYK.c: (rgba_to_cmyk), (cmyk_to_rgba):
* tests/babl-html-dump.c: (normalize):
* tests/babl_class_name.c:
* tests/formats.c: (format_check):
* tests/grayscale_to_rgb.c:
* tests/models.c: (model_check):
* tests/rgb_to_bgr.c:
* tests/rgb_to_ycbcr.c:
* tests/srgb_to_lab_u8.c:
* tests/types.c: (type_check):

19 years ago Set the default BABL_PATH based on the prefix babl is compiled for.
Øyvind Kolås [Wed, 15 Nov 2006 19:33:52 +0000 (19:33 +0000)]
Set the default BABL_PATH based on the prefix babl is compiled for.

* babl/Makefile.am:
* babl/babl-extension.c:

19 years agoadded "CIE Lab alpha float" as a default format.
Øyvind Kolås [Tue, 7 Nov 2006 18:07:29 +0000 (18:07 +0000)]
added "CIE Lab alpha float" as a default format.

* extensions/CIE-Lab.c: (formats): added "CIE Lab alpha float" as
a default format.

19 years agoset the version of babl to 0.0.7
Øyvind Kolås [Mon, 16 Oct 2006 23:42:46 +0000 (23:42 +0000)]
set the version of babl to 0.0.7

* configure.ac: set the version of babl to 0.0.7

19 years agoset the version of babl to 0.0.6
Øyvind Kolås [Mon, 16 Oct 2006 23:38:08 +0000 (23:38 +0000)]
set the version of babl to 0.0.6

* configure.ac: set the version of babl to 0.0.6

19 years agoCleaned up the typedef for Babl, fixes issues with g++.
Øyvind Kolås [Mon, 9 Oct 2006 13:40:41 +0000 (13:40 +0000)]
Cleaned up the typedef for Babl, fixes issues with g++.

19 years agofixed an issue with g++
Øyvind Kolås [Tue, 26 Sep 2006 13:48:48 +0000 (13:48 +0000)]
fixed an issue with g++

19 years agooutput utf8 conversion grid when building on crucible
Øyvind Kolås [Fri, 22 Sep 2006 23:18:15 +0000 (23:18 +0000)]
output utf8 conversion grid when building on crucible

19 years agoadded babl_total_usecs
Øyvind Kolås [Thu, 14 Sep 2006 15:20:36 +0000 (15:20 +0000)]
added babl_total_usecs

19 years agodecreased required automake version to 1.7.9.
Øyvind Kolås [Tue, 12 Sep 2006 21:14:00 +0000 (21:14 +0000)]
decreased required automake version to 1.7.9.

* autogen.sh: decreased required automake version to 1.7.9.

19 years agouse the autogen.sh of GIMP as a base for babl's autogen.sh. Among other
Michael Schumacher [Tue, 12 Sep 2006 20:19:29 +0000 (20:19 +0000)]
use the autogen.sh of GIMP as a base for babl's autogen.sh. Among other

2006-09-12  Michael Schumacher  <schumaml@cvs.gnome.org>

* autogen.sh: use the autogen.sh of GIMP as a base for babl's
autogen.sh. Among other things, this enables maintainer mode by
default.

19 years agobabl/babl-classes.h babl/babl-conversion.c babl/babl-fish-path.c
Kevin Cozens [Mon, 11 Sep 2006 04:37:43 +0000 (04:37 +0000)]
babl/babl-classes.h babl/babl-conversion.c babl/babl-fish-path.c

2006-09-10  Kevin Cozens  <kcozens@cvs.gnome.org>

* babl/babl-classes.h
* babl/babl-conversion.c
* babl/babl-fish-path.c
* babl/babl-fish-stats.c
* babl/babl-internal.c: Tick times are in usecs not msecs. Use longs
to hold tick values.

* babl/babl-util.h:
* babl/babl-util.c (babl_ticks): Fixed calculation of time (usecs
not msecs). Changed declaration to return a long not unsigned int.

19 years agomoved -fPIC from LD_FLAGS to CFLAGS
Øyvind Kolås [Fri, 8 Sep 2006 22:38:27 +0000 (22:38 +0000)]
moved -fPIC from LD_FLAGS to CFLAGS

19 years agoadded -fPIC to LD_FLAGS for extensions, thus making them compile on 64bit archs as...
Øyvind Kolås [Fri, 8 Sep 2006 14:19:46 +0000 (14:19 +0000)]
added -fPIC to LD_FLAGS for extensions, thus making them compile on 64bit archs as well

19 years agohave to link with libbabl.a, at least on the Windows platforms
Michael Schumacher [Mon, 4 Sep 2006 22:16:09 +0000 (22:16 +0000)]
have to link with libbabl.a, at least on the Windows platforms

2006-09-04  Michael Schumacher  <schumaml@cvs.gnome.org>

* extensions/Makefile.am: have to link with libbabl.a, at least on
the Windows platforms

19 years agoadded Makefile.in to extensions/.cvsignore
Øyvind Kolås [Thu, 31 Aug 2006 14:14:24 +0000 (14:14 +0000)]
added Makefile.in to extensions/.cvsignore

19 years agoset the version of babl to 0.0.5
Øyvind Kolås [Thu, 31 Aug 2006 14:12:05 +0000 (14:12 +0000)]
set the version of babl to 0.0.5

19 years agoupdated AUTHORS, added download link, set version to 0.0.4
Øyvind Kolås [Thu, 31 Aug 2006 14:10:39 +0000 (14:10 +0000)]
updated AUTHORS, added download link, set version to 0.0.4

19 years agofix glitch in previous commit
Øyvind Kolås [Thu, 31 Aug 2006 13:38:46 +0000 (13:38 +0000)]
fix glitch in previous commit

19 years agoadded a dependency on all for README, making it possible to do ./autogen.sh && make...
Øyvind Kolås [Thu, 31 Aug 2006 13:26:00 +0000 (13:26 +0000)]
added a dependency on all for README, making it possible to do ./autogen.sh && make distcheck from a clean CVS checkout

19 years agoAdded AM_MAINTAINER_MODE.
Kevin Cozens [Mon, 28 Aug 2006 17:30:54 +0000 (17:30 +0000)]
Added AM_MAINTAINER_MODE.

2006-08-28  Kevin Cozens  <kcozens@cvs.gnome.org>

* configure.ac: Added AM_MAINTAINER_MODE.

* docs/Makefile.am: Moved BablFishPath.txt to BUILT_EXTRA_DIST.

* tests/Makefile.am: Removed .cvsignore from EXTRA_DIST.

19 years agoChanges to get 'make distcheck' working properly.
Kevin Cozens [Mon, 28 Aug 2006 16:23:45 +0000 (16:23 +0000)]
Changes to get 'make distcheck' working properly.

2006-08-28  Kevin Cozens  <kcozens@cvs.gnome.org>

Changes to get 'make distcheck' working properly.

* docs/Makefile.am: Added BablFishPath to DISTCLEANFILES.

* extensions/Makefile.am: Added.

* extensions/Makefile.in: Removed (replaced by Makefile.am).

19 years agoadded AC_LIBTOOL_WIN32_DLL as a preparation for proper builds of shared
Michael Schumacher [Fri, 25 Aug 2006 20:36:10 +0000 (20:36 +0000)]
added AC_LIBTOOL_WIN32_DLL as a preparation for proper builds of shared

2006-08-25  Michael Schumacher  <schumaml@cvs.gnome.org>

* configure.ac: added AC_LIBTOOL_WIN32_DLL as a preparation for
proper builds of shared libs on win32 & there's no need to define
OS_WIN32 here...
* babl/babl-extension.c:  ...if the only place where it is needed
can be handled by HAVE_DLFCN_H

19 years agodo not add libbabl.a into plug-ins
Øyvind Kolås [Thu, 24 Aug 2006 21:56:05 +0000 (21:56 +0000)]
do not add libbabl.a into plug-ins